package org.blog.config;

import java.util.HashMap;
import java.util.Map;

public class KeyChange {
	public final static Integer KEY_UNCHANGE=1;
	public final static Integer KEY_CHANGE=0;
	
	public final static String banIP="banIp";
	//当0代表变了，1代表没变
	private static Map<String, Integer> map=new HashMap<String, Integer>();
	
	public static void put(String key,Integer value){
		map.put(key, value);
	}
	
	public static Integer get(String key){
		return map.get(key);
	}
	
	public static void remove(String key){
		map.remove(key);
	}
}
